package com.apimarket.exception;

import com.apimarket.enums.InvalidTypeEnum;

public class InvalidTypeException extends RuntimeException {
    private InvalidTypeEnum invalidTypeEnum;

    public InvalidTypeException(InvalidTypeEnum invalidTypeEnum) {
        this.invalidTypeEnum = invalidTypeEnum;
    }

    public InvalidTypeEnum getInvalidTypeEnum() {
        return invalidTypeEnum;
    }

    public void setInvalidTypeEnum(InvalidTypeEnum invalidTypeEnum) {
        this.invalidTypeEnum = invalidTypeEnum;
    }
}
